/* 图片上传模块 */
.upload-box {
  display: flex;
  flex-wrap: wrap;
  user-select: none;
}
.upload-box .img-list {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border: 1px solid #c0ccda;
  border-radius: 6px;
  box-sizing: border-box;
  margin: 5px;
  cursor: move;
  text-align: center;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.upload-box .img-list img {
  max-width: 60px;
  max-height: 60px;
}
.upload-box .img-list .del-btn {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.upload-box .img-list:hover .del-btn {
  display: flex;
}
.upload-box .img-list .del-btn i {
  cursor: pointer;
}
.upload-box .img-list .preview-icon {
  font-size: 16px;
}
.upload-box .img-list .line {
  font-size: 12px;
  color: #fff;
  padding: 0 4px;
}
.upload-box .upload-img-btn {
  background-color: #fbfdff;
  border: 1px dashed #c0ccda;
  margin: 5px;
  border-radius: 6px;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ccc;
}
.upload-box .upload-img-btn .iconfont {
  font-size: 24px;
}
.upload-box .upload-img-btn:hover {
  border: 1px dashed #409eff;
}
.upload-img-tip {
  font-size: 10px;
  color: #999;
}

/* 选择器 */
.upload-select {
  width: 950px;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  position: fixed;
  top: 100px;
  left: 50%;
  margin-left: -475px;
  z-index: 999;
  overflow: auto;
  user-select: none;
}
.upload-select .header {
  width: 100%;
  height: 50px;
  background-color: #fefefe;
  display: flex;
  align-items: center;
  justify-content: left;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
  padding: 0 15px;
  box-sizing: border-box;
}
.upload-select .header .close-btn {
  cursor: pointer;
  color: #333;
  font-size: 16px;
}
.upload-select .header i {
  width: 30px;
  text-align: right;
  color: #999;
  cursor: pointer;
}
.upload-select .body {
  width: 100%;
  min-height: 400px;
  overflow: auto;
  padding: 10px 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
}
.upload-select .body .left {
  width: 200px;
  height: auto;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  overflow: auto;
}
.upload-select .body .left .item-box {
  width: 100%;
  height: 450px;
  overflow: auto;
  padding-right: 5px;
  box-sizing: border-box;
}
.upload-select .body .left .item-box::-webkit-scrollbar {
  width: 4px;
}
.upload-select .body .left .item-box::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
.upload-select .body .left .item-box::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}
.upload-select .body .left .item {
  width: 100%;
  height: 30px;
  line-height: 30px;
  padding: 0 5px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  margin-bottom: 2px;
}
.upload-select .body .left .item .name {
  flex: 1;
  font-size: 12px;
  color: #666;
}
.upload-select .body .left .item .action {
  width: 20px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-select .body .left .item .action i {
  font-size: 18px;
  color: #999;
}
.upload-select .body .left .item:hover {
  background-color: #f5f5f5;
}
.upload-select .body .left .add-group {
  display: flex;
  width: 195px;
  height: 30px;
  line-height: 30px;
  box-sizing: border-box;
  flex-direction: row;
  background-color: #fff;
}
.upload-select .body .left .add-group input {
  width: 158px;
  height: 28px;
  border: 1px solid #eee;
  font-size: 12px;
  line-height: 28px;
  text-indent: 5px;
  color: #666;
}
.upload-select .body .left .add-group .save-btn {
  width: 37px;
  height: 28px;
  background-color: #1513e2;
  color: #fff;
  font-size: 12px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}
.upload-select .body .left .active {
  background-color: #f5f5f5;
}
.upload-select .body .right {
  flex: 1;
  height: auto;
  display: flex;
  flex-direction: column;
}
.upload-select .body .right .action {
  display: flex;
  flex-direction: row;
  padding-left: 10px;
}
.upload-select .body .right .action .select {
  width: 200px;
  margin-left: 8px;
}
.upload-select .body .right .list-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 10px;
}
.upload-select .body .right .list-box .item {
  width: 100px;
  height: 125px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 10px 10px 10px 10px;
  position: relative;
}
.upload-select .body .right .list-box .item .img {
  width: 96px;
  height: 96px;
  border: 2px solid #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
}
.upload-select .body .right .list-box .item .img .selected {
  display: none;
}
.upload-select .body .right .list-box .item .img img {
  max-height: 100%;
  max-width: 100%;
}
.upload-select .body .right .list-box .item .active {
  border: 2px solid #0052d9;
}
.upload-select .body .right .list-box .item .active .selected {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.upload-select .body .right .list-box .item .active .selected span {
  width: 25px;
  height: 25px;
  position: absolute;
  right: 2px;
  top: 2px;
  display: flex;
  border: 2px solid #fff;
  align-items: center;
  justify-content: center;
  background-color: #ed4014;
  border-radius: 25px;
  color: #fff;
}
.upload-select .body .right .list-box .item .active .selected span i {
  font-size: 16px;
  color: #fff;
}
.upload-select .body .right .list-box .item p {
  width: 100%;
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 0;
  padding: 0;
}
.upload-select .footer {
  overflow: hidden;
  padding: 20px 20px;
  display: flex;
  justify-content: right;
}
.upload-select-mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  user-select: none;
}
.select-btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #777;
  cursor: pointer;
}
.tip {
  margin-top: 2px;
  font-size: 12px;
  color: #999;
}
/* 腾讯地区坐标拾取器 */
.input-pick-qq-map {
  width: 600px;
  position: relative;
  .mask {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 998;
  }
  .modal {
    width: 640px;
    height: 620px;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -310px;
    margin-left: -320px;
    z-index: 999;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 5px;
    .action {
      margin-top: 10px;
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      align-items: center;
    }
  }
  .search {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    padding: 5px;
    border-radius: 4px;
    .area {
      width: 240px;
      font-size: 13px;
      color: #000;
    }
    .keyword {
      flex: 1;
      margin-left: 5px;
      margin-right: 5px;
      flex: 1;
      height: 100%;
      border: 1px solid #eee;
      border-radius: 2px;
    }
  }
  .qqMapGetPoint {
    position: relative;
    width: 600px;
    height: 500px;
    background-color: #f2f3f5;
    cursor: crosshair;
    margin-top: 5px;
    border-radius: 4px;
    overflow: hidden;
    user-select: none;
  }
}
.upload-imgs-preview,
.preview-box {
  width: 375px;
  display: flex;
  flex-direction: column;
  border: 5px solid #f5f5f5;
  border-radius: 2px;
  .titbar {
    .titbar-w {
      font-size: 12px;
      color: #333;
      text-align: center;
      margin-top: 38px;
    }
    width: 375px;
    height: 64px;
    border-bottom: 1px solid #eee;
    background-image: url();
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
  }
  .preview-content {
    width: 100%;
    max-height: 600px;
    overflow: auto;
    .img {
      display: block;
      width: 100%;
    }
  }
}

.seamless-scroll {
  width: 100%;
  /*height: 100%;*/
  /*overflow: hidden;*/
  .hover {
    overflow-y: auto;
  }
  .hide {
    display: none;
  }
}
#wang-editor—wrapper {
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  z-index: 100; /* 按需定义 */
}
#wang-toolbar-container {
  border-bottom: 1px solid #ccc;
}
#wang-editor-container {
  width: 100%;
  height: 500px;
}
